package com.ruoyi.system.domain.news;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.system.domain.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@ApiModel(value = "定级备案数据对象")
@EqualsAndHashCode(callSuper=false)
public class NewsAssessArchive extends BaseModel {
    @ApiModelProperty(value = "栏目")
    private String section;
	@ApiModelProperty(value = "标题")
	private String title;
    @ApiModelProperty(value = "简介")
    private String summary;
    @ApiModelProperty(value = "来源")
    private String source;
    @ApiModelProperty(value = "关键词")
    private String keyword;
    @ApiModelProperty(value = "封面图片")
    private String coverImage;
	@ApiModelProperty(value = "内容")
	private String content;
	@ApiModelProperty(value = "图片地址")
	private String picture;
	@ApiModelProperty(value = "附件地址")
	private String file;
    @ApiModelProperty(value = "视频地址")
    private String video;
    @ApiModelProperty(value = "排序")
    private Integer sort;
    @ApiModelProperty(value = "启用状态0禁用1启用")
    private String isEnable;
    @ApiModelProperty(value = "外部链接")
    private String externalLink;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "发布时间")
    private Date publishTime;
    @ApiModelProperty(value = "作者")
    private String author;
}